package com.yunjijia.mapper;

import com.yunjijia.pojo.House;
import com.yunjijia.pojo.HouseExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface HouseMapper {
    int countByExample(HouseExample example);

    int deleteByExample(HouseExample example);

    int deleteByPrimaryKey(Long id);

    int insert(House record);

    int insertSelective(House record);

    List<House> selectByExample(HouseExample example);

    House selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") House record, @Param("example") HouseExample example);

    int updateByExample(@Param("record") House record, @Param("example") HouseExample example);

    int updateByPrimaryKeySelective(House record);

    int updateByPrimaryKey(House record);

    List<Map> selectHouseCityList();

    List<Map> selectHouseBuiltList();

    List<Map> selectHouseCommunitynameList();

    List<Map> selectHousebedsList();

    List<Map> selectHouseAreaList();

}